<!DOCTYPE html>
<html lang="en">
  <head>
    <title>ICamera</title>
    <meta charset="utf-8" />
  </head>
  <body>
    <button onclick="getMedia()">开启直播摄像头</button>


    <video id="video" width="200px" height="200px" autoplay="autoplay">
      <div style="background-color: #fb7299" onclick="getMedia()">开启</div>
      <!-- <button onclick="getMedia()" style="font-style: #000000">
        开启摄像头
      </button> -->
    </video>
  </body>
  <script src="./renderer/demo11.js"></script>
</html>
<style>
  #video {
    border-radius: 50%;
    /* 镜像反转 */
    transform: rotateY(180deg);
    /* 可拖拽 */
    -webkit-app-region: drag;
  }
</style>
